package video.background.Config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @program: background
 * @description: 设置静态资源目录
 * @author: hlt
 * @create: 2023-08-10 08:58
 **/
@Configuration
public class WebFileConfig implements WebMvcConfigurer {
//    @Override
//    public void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/files/**")
//                .addResourceLocations("file:/E:/java_project/images/");
//    }
}
